package com.PGD.model.vos
{
	import assets.AssetLib;
	
	import flash.events.Event;
	
	public class QuestionSlide extends Slide
	{
		public function QuestionSlide()
		{
			
			super.myIcon = AssetLib.QUESTION;
		}
		
		
		
		private var _answerSet:AnswerSet;
		[Bindable(event="answerSetChange")]
		public function set answerSet (value:AnswerSet):void
		{
			if (value != _answerSet)
			{
				_answerSet = value;
				dispatchEvent (new Event ("answerSetChange"));
			}
		}

		public function get answerSet ():AnswerSet
		{
			return _answerSet;
		}


		
	/* 	public function addAnswer(ans:Answer):void
		{
			if(answers)
			{
				answers.addItem(ans);
				isDirty = true;
			}
		}
		public function removeAnswer(ans:Answer):void
		{
			
			if(answers)
			{
				try
				{
				answers.removeItemAt(answers.getItemIndex(ans));
				isDirty = true;
				}
				catch(err:Error)
				{
					trace(err)
				}
			}
			
		} */
		
	

		
	}
}